<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
    </head>
    <body>
        <button>开始</button>
        <button>停止</button>
        <script>
            const start = document.querySelectorAll('button')[0];
            const url = [
                'https://blog.csdn.net/2302_78617186/article/details/131197447',
                'https://blog.csdn.net/2302_78617186/article/details/131197680',
                'https://blog.csdn.net/2302_78617186/article/details/131197664',
            ];
            function open() {
                for (let item of url) {
                    window.open(item);
                }
            }
            console.log(start);
            start.addEventListener('click', () => {
                window.location.href = 'https://blog.csdn.net/2302_78617186/article/details/131197447';
            });
        </script>
    </body>
</html>
